#pragma once
#include "MyRuleStruct.h"
#include "Common.h"

class BaseDialog;

class CDriverMon
{
public:
	CDriverMon();
	~CDriverMon();

private:
	static unsigned int __stdcall RunStartDrvMonitorCancel(void *lpParam);
	static unsigned int __stdcall RunStartDrvMonitor(void *lpParam);
	static unsigned int __stdcall RunTraverseDrv(void *lpParam);
	

	void DrvMonitor(BaseDialog *pBaseDlg);
	void DrvMonitorCancel(BaseDialog *pBaseDlg);

public:
	static unsigned int __stdcall RunStartTraverseDrv(void *lpParam);
	BOOL StartDrvMonitor(BaseDialog *pBaseDlg);
	BOOL StartDrvMonitorCancel(BaseDialog *pBaseDlg);
	
	WhatTodo DriverNotifyFunc(Param& op);
	void StartTraverseDrv(BaseDialog *pBaseDlg);

public:
	PALL_DRIVER_INFO m_pAllDriverInfo;

};

